package com.fas.system.domain;

import com.fas.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 设备厂商、类型、型号对象 fas_equipment_manufacturer
 */
@ApiModel(value = "设备信息对象")
public class FasEquipmentManufacturer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private Integer id;

    /** 名称 */
    @ApiModelProperty(value = "名称")
    private String name;

    /** 父id */
    @ApiModelProperty(value = "父id")
    private Integer parentId;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private Integer sort;

    private List<FasEquipmentManufacturer> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<FasEquipmentManufacturer> getChildren() {
        return children;
    }

    public void setChildren(List<FasEquipmentManufacturer> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "FasEquipmentManufacturer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", sort=" + sort +
                '}';
    }
}
